#!/usr/bin/env bash
yum -y install docker
#curl -fsSL https://get.docker.com/ | sh

echo -e "{\"registry-mirrors\": [\"https://registry.docker-cn.com\"]}" >/etc/docker/daemon.json

systemctl daemon-reload
service docker start
#service docker stop

# 磁盘满了
https://www.cnblogs.com/zhangeamon/p/7130518.html

